import 'package:aio/aio.dart';

///五金领用审核详情
class MaterialReviewInfoBean extends BaseBean {
  String? PickBodyId = "";
  String? MPId = "";
  String? TotalFeedNum = "";

  String? UserId = "";
  String? GroupId = "";
  String? MaterCode = "";
  String? MaterName = "";
  String? PlanNum = "";
  String? PlanBasicNum = "";
  String? EquipmentCode = "";
  String? EquipmentName = "";
  String? ManufacturerId = "";
  String? ManufacturerName = "";
  String? Size = "";
  String? BasicNum = "";
  String? Price = "";
  String? BasicUnit = "";
  String? PackageUnit = "";
  String? Remarks = "";
  String? MaterItemRemarks = "";
  String? TotalFeedNum1 = "";
  String? YearPickSetNum = "";
  String? MonthPickSetNum = "";
  String? CountPickSetNum = "";
  String? HasFeedBasicNum = "";
  String? txtUser = "";
  String? txtMaterItemRemarks = "";
  String? txtGroup = "";
  String? txtDept = "";
  String? lblOrderCode = "";

  String? isOldNew="";//是否以旧换新

  @override
  fromJson(Map<String, dynamic> json) {
    // TODO: implement fromJson
    PickBodyId = json['PickBodyId']?.toString() ?? "";
    MPId = json['MPId']?.toString() ?? "";
    TotalFeedNum = json['TotalFeedNum']?.toString() ?? "";
    UserId = json['UserId']?.toString() ?? "";
    GroupId = json['GroupId']?.toString() ?? "";
    MaterCode = json['MaterCode']?.toString() ?? "";
    MaterName = json['MaterName']?.toString() ?? "";
    PlanNum = json['PlanNum']?.toString() ?? "";
    PlanBasicNum = json['PlanBasicNum']?.toString() ?? "";
    EquipmentCode = json['EquipmentCode']?.toString() ?? "";
    EquipmentName = json['EquipmentName']?.toString() ?? "";
    ManufacturerId = json['ManufacturerId']?.toString() ?? "";
    ManufacturerName = json['ManufacturerName']?.toString() ?? "";
    Size = json['Size']?.toString() ?? "";
    BasicNum = json['BasicNum']?.toString() ?? "";
    Price = json['Price']?.toString() ?? "";
    BasicUnit = json['BasicUnit']?.toString() ?? "";
    PackageUnit = json['PackageUnit']?.toString() ?? "";
    Remarks = json['Remarks']?.toString() ?? "";
    MaterItemRemarks = json['MaterItemRemarks']?.toString() ?? "";
    TotalFeedNum1 = json['TotalFeedNum1']?.toString() ?? "";
    YearPickSetNum = json['YearPickSetNum']?.toString() ?? "";
    MonthPickSetNum = json['MonthPickSetNum']?.toString() ?? "";
    CountPickSetNum = json['CountPickSetNum']?.toString() ?? "";
    HasFeedBasicNum = json['HasFeedBasicNum']?.toString() ?? "";
    txtUser = json['txtUser']?.toString() ?? "";
    txtMaterItemRemarks = json['txtMaterItemRemarks']?.toString() ?? "";
    txtGroup = json['txtGroup']?.toString() ?? "";
    txtDept = json['txtDept']?.toString() ?? "";
    lblOrderCode = json['lblOrderCode']?.toString() ?? "";
    isOldNew= json['isOldNew']?.toString() ?? "";
  }

  @override
  instance() {
    // TODO: implement instance
    return MaterialReviewInfoBean();
  }

  @override
  Map<String, dynamic> toJson() {
    // TODO: implement toJson
    var map = <String, dynamic>{};
    map["PickBodyId"] = PickBodyId;
    map["MPId"] = MPId;
    map["TotalFeedNum"] = TotalFeedNum;
    map["UserId"] = UserId;
    map["GroupId"] = GroupId;
    map["MaterCode"] = MaterCode;
    map["MaterName"] = MaterName;
    map["PlanNum"] = PlanNum;
    map["PlanBasicNum"] = PlanBasicNum;
    map["EquipmentCode"] = EquipmentCode;
    map["EquipmentName"] = EquipmentName;
    map["ManufacturerId"] = ManufacturerId;
    map["ManufacturerName"] = ManufacturerName;
    map["Size"] = Size;
    map["BasicNum"] = BasicNum;
    map["Price"] = Price;
    map["BasicUnit"] = BasicUnit;
    map["PackageUnit"] = PackageUnit;
    map["Remarks"] = Remarks;
    map["MaterItemRemarks"] = MaterItemRemarks;
    map["TotalFeedNum1"] = TotalFeedNum1;
    map["YearPickSetNum"] = YearPickSetNum;
    map["MonthPickSetNum"] = MonthPickSetNum;
    map["CountPickSetNum"] = CountPickSetNum;
    map["HasFeedBasicNum"] = HasFeedBasicNum;
    map["txtUser"] = txtUser;
    map["txtMaterItemRemarks"] = txtMaterItemRemarks;
    map["txtGroup"] = txtGroup;
    map["txtDept"] = txtDept;
    map["lblOrderCode"] = lblOrderCode;
    map["isOldNew"] = isOldNew;
    return map;
  }
}
